<?php
/**
 * This file is part of webman.
 *
 * Licensed under The MIT License
 * For full copyright and license information, please see the MIT-LICENSE.txt
 * Redistributions of files must retain the above copyright notice.
 *
 * @author    walkor<walkor@workerman.net>
 * @copyright walkor<walkor@workerman.net>
 * @link      http://www.workerman.net/
 * @license   http://www.opensource.org/licenses/mit-license.php MIT License
 */

use Webman\Route;

// H5sdk xpWanSdk 前端运行日志上报
Route::any('/api/h5/log', [app\controller\api\sdk\H5Controller::class, 'log']);

// 小程序sdk xpMtgSdk 前端运行日志上报
Route::any('/api/mtg/log', [app\controller\api\sdk\MtgController::class, 'log']);

// 小游戏sdk xpMiniSdk 前端运行日志上报
Route::any('/api/xyx/log', [app\controller\api\sdk\XyxController::class, 'log']);

// 安卓ios端 运行日志上报
Route::any('/api/sdkclient/log', [app\controller\api\sdk\SdkClientController::class, 'log']);


// 查看订单信息
Route::any('/api/sdk/order/info', [app\controller\api\sdk\OrderController::class, 'info']);

// sdk角色行为日志上报
Route::any('/api/game/roleevent', [app\controller\api\sdk\GameController::class, 'roleEvent']);

// 买量点击监控数据
Route::any('/api/ad/monitor', [app\controller\api\sdk\AdMonitorController::class, 'mediaMonitor']);
